<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>点击</title>
		<style>
			#div_id {
				width: 100px;
				height: 100px;
				background-color: red;
				color: white;
			}
		</style>
	</head>
	<body>
		<div id="div_id">
		</div>
		<button id="but_id">播放动画</button>
	</body>
	<script src="../js/jquery.min.js"></script>
	<script>
		$(function(){
			$("#but_id").click(function(){
				$("#div_id").animate({
					'left': '250px',
					'top':'300px',
				});
				console.log("我被点了");
			});
			
		});
	</script>
</html>
